package com.ruoyi.parkingcar.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场地图对象 esmap
 * 
 * @author 饼干
 * @date 2025-02-16
 */
public class Esmap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车位编号 */
    private Long slotId;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private Long modelId;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long floor;

    /** 车位名称 */
    @Excel(name = "车位名称")
    private String name;

    /** X轴坐标 */
    @Excel(name = "X轴坐标")
    private String x;

    /** Y轴坐标 */
    @Excel(name = "Y轴坐标")
    private String y;

    /** 高度 */
    @Excel(name = "高度")
    private BigDecimal high;

    /** 状态：0-没车；1-有车 */
    @Excel(name = "状态：0-没车；1-有车")
    private Integer status;

    public void setSlotId(Long slotId) 
    {
        this.slotId = slotId;
    }

    public Long getSlotId() 
    {
        return slotId;
    }
    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId()
    {
        return modelId;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }
    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }
    public void setHigh(BigDecimal high) 
    {
        this.high = high;
    }

    public BigDecimal getHigh() 
    {
        return high;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("slotId", getSlotId())
            .append("modelId", getModelId())
            .append("floor", getFloor())
            .append("name", getName())
            .append("x", getX())
            .append("y", getY())
            .append("high", getHigh())
            .append("status", getStatus())
            .toString();
    }
}
